.announcement-detail-container {
  max-width: 900px;
  padding: 25px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
}

.detail-header {
  display: flex;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eaeaea;
  flex-direction: column;
  font-size: 14px;
  .detail-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .detail-header-title {
      flex: 1;
      display: flex;
      align-items: center;

      .detail-header-title-icon {
        width: 60px;
        height: 60px;
        margin-right: 15px;
        border-radius: 8px;
      }
    }
  }

  .detail-header-title-info {
    display: flex;
    margin-top: 15px;
    color: var(--el-text-color-regular);
    flex: 1;
    justify-content: space-between;
  }

  .detail-header-bottom {
    display: flex;
    margin-top: 15px;
    color: var(--el-text-color-regular);

    .words-scope {
      flex-shrink: 0;
      margin-right: 10px;
      line-height: 24px;
    }

    .scope-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
  }
}

.detail-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.detail-section {
  margin-bottom: 25px;

  &:last-child {
    margin-bottom: 0;
  }
}

.section-label {
  position: relative;
  margin-bottom: 12px;
  padding-left: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #606266;
}

.section-label::before {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 4px;
  background-color: var(--el-color-primary);
  border-radius: 2px;
  content: '';
}

.title-value {
  padding: 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: #303133;
}

.icon-section {
  display: flex;
  gap: 40px;
  margin: 20px 0;
}

.icon-column,
.category-column {
  flex: 1;
}

.icon-preview {
  width: 120px;
  height: 120px;
  border: 1px solid #ebeef5;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 6%);
}

.category-tag {
  margin-top: 8px;
}

.tag {
  padding: 6px 12px;
  font-size: 14px;
}

.person-tag {
  padding: 6px 12px;
  font-size: 14px;
  color: var(--el-color-primary);
  background-color: #f0f7ff;
  border-color: #d9ecff;
}

.content-container {
  padding: 10px 20px;
  margin-top: 8px;
  border-radius: 4px;
}

.content-text {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.8;
  color: #606266;
  white-space: pre-wrap;
}

.content-image {
  max-width: 700px;
  margin: 15px 0;
}

.text-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
}

.attachments-container {
  padding: 10px 20px;
  margin-top: 8px;
  border-radius: 4px;
}

.attachment-item {
  display: flex;
  padding: 12px 15px;
  margin-bottom: 10px;
  background-color: #fff;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  transition: all 0.3s;
  justify-content: space-between;
  align-items: center;
}

.file-info {
  display: flex;
  align-items: center;
}

.file-icon {
  margin-right: 12px;
  font-size: 22px;
  color: var(--el-color-primary);
}

.file-name {
  font-size: 15px;
  font-weight: 500;
  color: #606266;
  word-wrap: break-word;
  max-width: 620px;
}

.file-actions {
  display: flex;
  gap: 10px;
}
